const express = require("express")

const path = require("path")

app = express()
// __dirname当前文件所在的文件夹路径
app.use("/public",express.static(path.join(__dirname, "./static")))

app.listen(4000, () => {
    console.log("server started")
})
